<?php

class ControllerAccountUserDefine extends Controller
{
    private $error = array();

    public function getUserDefine(){
        if (! $this->actionCheck(true, false)) {
            return;
        }
        $this->load->model('account/user_define');
        $data =  $this->model_account_user_define->getUserDefine($this->request->get['user_define_id']);
        $data['description'] = html_entity_decode($data['description'], ENT_QUOTES, 'UTF-8');
        $this->response->setDataResult(1, '成功', $data);
    }

}